package com.linkhub.oms.admin.modules.user.accountrecharge.domain.param;

import com.linkhub.oms.admin.modules.user.domain.param.BaseUserParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 用户充值查询
 * @author Frank
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserAccountRechargeQueryParam", description = "UserAccountRechargeQueryParam")
public class UserAccountRechargeQueryParam extends BaseUserParam implements Serializable {

    @ApiModelProperty(value = "页数, 从1开始")
    @NotNull(message = "{validation.page.notNull}")
    @Range(min = 1, message = "{validation.page.min}")
    private Integer page;

    @ApiModelProperty(value = "每页大小")
    @NotNull(message = "{validation.pageSize.notNull}")
    private Integer size;

    @ApiModelProperty(value = "充值状态：0-审核中 1-已到账 2-已拒绝")
    @Range(min = 0, max = 2)
    private Integer rechargeStatus;

    @ApiModelProperty(value = "提交日期_开始")
    private String submitDateBegin;

    @ApiModelProperty(value = "提交日期_结束")
    private String submitDateEnd;

    @ApiModelProperty(value = "商家ids")
    private List<String> merchantUserIds;
}
